import Vue from 'vue'
import App from './App.vue'

import mavonEditor from 'mavon-editor' // md实例
import 'mavon-editor/dist/css/index.css'
Vue.use(mavonEditor)

import router from './router'
import store from './store'

import { Message } from 'element-ui' // 按需引用element-ui组件

// import './assets/globalStyles/reset.css' // 引入reset
import './assets/globalStyles/normalize.css' // 引入normalize

import FastClick from 'fastclick' // 引入fastclick，解决移动端300毫秒点击延迟事件
FastClick.attach(document.body)

Vue.prototype.$message = Message // 将element组件内容挂载到Vue上

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  store,
  router,
}).$mount('#app')
